<template>
  <el-tabs type="border-card" style="min-height: 86vh">
    <el-tab-pane label="抵押物登记">
      <pledge-register @success="getTransferData"></pledge-register>
    </el-tab-pane>
    <el-tab-pane label="权证移交">
      <pledge-transfer ref="transfer"></pledge-transfer>
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import PledgeRegister from '@/credit/views/city/risk/pledge/Register'
import PledgeTransfer from '@/credit/views/city/risk/pledge/Transfer'

export default {
  components: {
    PledgeRegister,
    PledgeTransfer,
  },
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    getTransferData() {
      this.$refs.transfer.getData()
    },
  },
}
</script>

<style lang="scss" scoped></style>
